package com.uplooking.constant;

import java.util.Map;

public interface ShopConstants {
	
	int GoodUpStatus = 401;
	int GoodDownStatus = 402;
	
	int DictGoodTypes = 3;
	
	public static Map<String,Object> AddGoodSuccess(){
		return CommConstants.RESULT(200, "添加商品成功");
	}
	
	public static Map<String,Object> UpDownGoodSuccess(){
		return CommConstants.RESULT(200, "商品操作完成");
	}
	
	public static Map<String,Object> LockGoodError(){
		return CommConstants.RESULT(702, "系统延时请重试");
	}
	
	public static Map<String,Object> GoodNotExists(){
		return CommConstants.RESULT(701, "商品信息不存在");
	}
}
